﻿using System;
using System.Xml;
using System.Xml.Serialization;

namespace openSourceC.DaylifeClient
{
	/// <summary>
	///		Summary description for Source.
	/// </summary>
	[Serializable]
	[XmlType("source")]
	public class Source
	{
		/// <summary></summary>
		[XmlElement("daylife_url")]
		public string DaylifeUrl { get; set; }

		/// <summary></summary>
		[XmlElement("favicon_url")]
		public string FavIconUrl { get; set; }

		/// <summary></summary>
		[XmlElement("name")]
		public string Name { get; set; }

		/// <summary></summary>
		[XmlElement("rank")]
		public int? Rank { get; set; }

		/// <summary></summary>
		[XmlElement("source_id")]
		public string SourceId { get; set; }

		/// <summary></summary>
		[XmlElement("type")]
		public string Type { get; set; }

		/// <summary></summary>
		[XmlElement("url")]
		public string Url { get; set; }


		/// <summary>Gets or sets the array of all the out-of-band elements.</summary>
		[XmlAnyElement]
		public XmlElement[] ZElements { get; set; }
	}
}
